package com.oa.admin.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.joneying.common.web.response.Resp;
import com.oa.admin.dto.SubsidyRemindAddDTO;
import com.oa.admin.dto.SubsidyRemindListDTO;
import com.oa.admin.vo.SubsidyRemindDetails;
import com.oa.admin.vo.SubsidyRemindListVO;
import com.oa.core.PageResult;
import com.oa.admin.entity.SubsidyRemind;
import com.baomidou.mybatisplus.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 补贴提醒 服务类
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface ISubsidyRemindService extends IService<SubsidyRemind> {
    /**
     * 自定义分页
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResult<SubsidyRemind> findList(Integer pageNum, Integer pageSize);

    /**
    * 根据id查询
    */
    SubsidyRemindDetails findSubsidyRemindById(String id);

    PageResult<SubsidyRemindListVO> findSubsidyRemindList(SubsidyRemindListDTO subsidyRemindListDTO);

    Resp add(SubsidyRemindAddDTO subsidyRemindAddDTO);

    Resp edit(SubsidyRemindAddDTO subsidyRemindAddDTO);

    void export(SubsidyRemindListDTO subsidyRemindListDTO, HttpServletResponse response);
}
